import request from '@/utils/request'

export default {
  // 根据手机号码发送短信
  sendCode(phone) {
    return request({
      url: `/edumsm/msm/send/${phone}`,
      method: 'get'
    })
  },
  // 用户修改
  saveUcenter(loginInfo) {
    return request({
      url: `/ucenterservice/member/save`,
      method: 'post',
      data: loginInfo
    })
  },
  // 用户注册
  registerMember(formItem) {
    return request({
      url: `/ucenterservice/member/register`,
      method: 'post',
      data: formItem
    })
  }
}
